package com.rc.saas.tenant.model.invite;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MemberInviteSettingExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MemberInviteSettingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andInviteSettingIdIsNull() {
            addCriterion("invite_setting_id is null");
            return (Criteria) this;
        }

        public Criteria andInviteSettingIdIsNotNull() {
            addCriterion("invite_setting_id is not null");
            return (Criteria) this;
        }

        public Criteria andInviteSettingIdEqualTo(Long value) {
            addCriterion("invite_setting_id =", value, "inviteSettingId");
            return (Criteria) this;
        }

        public Criteria andInviteSettingIdNotEqualTo(Long value) {
            addCriterion("invite_setting_id <>", value, "inviteSettingId");
            return (Criteria) this;
        }

        public Criteria andInviteSettingIdGreaterThan(Long value) {
            addCriterion("invite_setting_id >", value, "inviteSettingId");
            return (Criteria) this;
        }

        public Criteria andInviteSettingIdGreaterThanOrEqualTo(Long value) {
            addCriterion("invite_setting_id >=", value, "inviteSettingId");
            return (Criteria) this;
        }

        public Criteria andInviteSettingIdLessThan(Long value) {
            addCriterion("invite_setting_id <", value, "inviteSettingId");
            return (Criteria) this;
        }

        public Criteria andInviteSettingIdLessThanOrEqualTo(Long value) {
            addCriterion("invite_setting_id <=", value, "inviteSettingId");
            return (Criteria) this;
        }

        public Criteria andInviteSettingIdIn(List<Long> values) {
            addCriterion("invite_setting_id in", values, "inviteSettingId");
            return (Criteria) this;
        }

        public Criteria andInviteSettingIdNotIn(List<Long> values) {
            addCriterion("invite_setting_id not in", values, "inviteSettingId");
            return (Criteria) this;
        }

        public Criteria andInviteSettingIdBetween(Long value1, Long value2) {
            addCriterion("invite_setting_id between", value1, value2, "inviteSettingId");
            return (Criteria) this;
        }

        public Criteria andInviteSettingIdNotBetween(Long value1, Long value2) {
            addCriterion("invite_setting_id not between", value1, value2, "inviteSettingId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andInviteNameIsNull() {
            addCriterion("invite_name is null");
            return (Criteria) this;
        }

        public Criteria andInviteNameIsNotNull() {
            addCriterion("invite_name is not null");
            return (Criteria) this;
        }

        public Criteria andInviteNameEqualTo(String value) {
            addCriterion("invite_name =", value, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteNameNotEqualTo(String value) {
            addCriterion("invite_name <>", value, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteNameGreaterThan(String value) {
            addCriterion("invite_name >", value, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteNameGreaterThanOrEqualTo(String value) {
            addCriterion("invite_name >=", value, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteNameLessThan(String value) {
            addCriterion("invite_name <", value, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteNameLessThanOrEqualTo(String value) {
            addCriterion("invite_name <=", value, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteNameLike(String value) {
            addCriterion("invite_name like", value, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteNameNotLike(String value) {
            addCriterion("invite_name not like", value, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteNameIn(List<String> values) {
            addCriterion("invite_name in", values, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteNameNotIn(List<String> values) {
            addCriterion("invite_name not in", values, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteNameBetween(String value1, String value2) {
            addCriterion("invite_name between", value1, value2, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteNameNotBetween(String value1, String value2) {
            addCriterion("invite_name not between", value1, value2, "inviteName");
            return (Criteria) this;
        }

        public Criteria andInviteTypeIsNull() {
            addCriterion("invite_type is null");
            return (Criteria) this;
        }

        public Criteria andInviteTypeIsNotNull() {
            addCriterion("invite_type is not null");
            return (Criteria) this;
        }

        public Criteria andInviteTypeEqualTo(String value) {
            addCriterion("invite_type =", value, "inviteType");
            return (Criteria) this;
        }

        public Criteria andInviteTypeNotEqualTo(String value) {
            addCriterion("invite_type <>", value, "inviteType");
            return (Criteria) this;
        }

        public Criteria andInviteTypeGreaterThan(String value) {
            addCriterion("invite_type >", value, "inviteType");
            return (Criteria) this;
        }

        public Criteria andInviteTypeGreaterThanOrEqualTo(String value) {
            addCriterion("invite_type >=", value, "inviteType");
            return (Criteria) this;
        }

        public Criteria andInviteTypeLessThan(String value) {
            addCriterion("invite_type <", value, "inviteType");
            return (Criteria) this;
        }

        public Criteria andInviteTypeLessThanOrEqualTo(String value) {
            addCriterion("invite_type <=", value, "inviteType");
            return (Criteria) this;
        }

        public Criteria andInviteTypeLike(String value) {
            addCriterion("invite_type like", value, "inviteType");
            return (Criteria) this;
        }

        public Criteria andInviteTypeNotLike(String value) {
            addCriterion("invite_type not like", value, "inviteType");
            return (Criteria) this;
        }

        public Criteria andInviteTypeIn(List<String> values) {
            addCriterion("invite_type in", values, "inviteType");
            return (Criteria) this;
        }

        public Criteria andInviteTypeNotIn(List<String> values) {
            addCriterion("invite_type not in", values, "inviteType");
            return (Criteria) this;
        }

        public Criteria andInviteTypeBetween(String value1, String value2) {
            addCriterion("invite_type between", value1, value2, "inviteType");
            return (Criteria) this;
        }

        public Criteria andInviteTypeNotBetween(String value1, String value2) {
            addCriterion("invite_type not between", value1, value2, "inviteType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdIsNull() {
            addCriterion("ticket_type_id is null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdIsNotNull() {
            addCriterion("ticket_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdEqualTo(Long value) {
            addCriterion("ticket_type_id =", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdNotEqualTo(Long value) {
            addCriterion("ticket_type_id <>", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdGreaterThan(Long value) {
            addCriterion("ticket_type_id >", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ticket_type_id >=", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdLessThan(Long value) {
            addCriterion("ticket_type_id <", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdLessThanOrEqualTo(Long value) {
            addCriterion("ticket_type_id <=", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdIn(List<Long> values) {
            addCriterion("ticket_type_id in", values, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdNotIn(List<Long> values) {
            addCriterion("ticket_type_id not in", values, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdBetween(Long value1, Long value2) {
            addCriterion("ticket_type_id between", value1, value2, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdNotBetween(Long value1, Long value2) {
            addCriterion("ticket_type_id not between", value1, value2, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountIsNull() {
            addCriterion("ticket_type_count is null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountIsNotNull() {
            addCriterion("ticket_type_count is not null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountEqualTo(Integer value) {
            addCriterion("ticket_type_count =", value, "ticketTypeCount");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountNotEqualTo(Integer value) {
            addCriterion("ticket_type_count <>", value, "ticketTypeCount");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountGreaterThan(Integer value) {
            addCriterion("ticket_type_count >", value, "ticketTypeCount");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("ticket_type_count >=", value, "ticketTypeCount");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountLessThan(Integer value) {
            addCriterion("ticket_type_count <", value, "ticketTypeCount");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountLessThanOrEqualTo(Integer value) {
            addCriterion("ticket_type_count <=", value, "ticketTypeCount");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountIn(List<Integer> values) {
            addCriterion("ticket_type_count in", values, "ticketTypeCount");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountNotIn(List<Integer> values) {
            addCriterion("ticket_type_count not in", values, "ticketTypeCount");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountBetween(Integer value1, Integer value2) {
            addCriterion("ticket_type_count between", value1, value2, "ticketTypeCount");
            return (Criteria) this;
        }

        public Criteria andTicketTypeCountNotBetween(Integer value1, Integer value2) {
            addCriterion("ticket_type_count not between", value1, value2, "ticketTypeCount");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNull() {
            addCriterion("begin_time is null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNotNull() {
            addCriterion("begin_time is not null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeEqualTo(Date value) {
            addCriterion("begin_time =", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotEqualTo(Date value) {
            addCriterion("begin_time <>", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThan(Date value) {
            addCriterion("begin_time >", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("begin_time >=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThan(Date value) {
            addCriterion("begin_time <", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThanOrEqualTo(Date value) {
            addCriterion("begin_time <=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIn(List<Date> values) {
            addCriterion("begin_time in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotIn(List<Date> values) {
            addCriterion("begin_time not in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeBetween(Date value1, Date value2) {
            addCriterion("begin_time between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotBetween(Date value1, Date value2) {
            addCriterion("begin_time not between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andGainRatioIsNull() {
            addCriterion("gain_ratio is null");
            return (Criteria) this;
        }

        public Criteria andGainRatioIsNotNull() {
            addCriterion("gain_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andGainRatioEqualTo(BigDecimal value) {
            addCriterion("gain_ratio =", value, "gainRatio");
            return (Criteria) this;
        }

        public Criteria andGainRatioNotEqualTo(BigDecimal value) {
            addCriterion("gain_ratio <>", value, "gainRatio");
            return (Criteria) this;
        }

        public Criteria andGainRatioGreaterThan(BigDecimal value) {
            addCriterion("gain_ratio >", value, "gainRatio");
            return (Criteria) this;
        }

        public Criteria andGainRatioGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("gain_ratio >=", value, "gainRatio");
            return (Criteria) this;
        }

        public Criteria andGainRatioLessThan(BigDecimal value) {
            addCriterion("gain_ratio <", value, "gainRatio");
            return (Criteria) this;
        }

        public Criteria andGainRatioLessThanOrEqualTo(BigDecimal value) {
            addCriterion("gain_ratio <=", value, "gainRatio");
            return (Criteria) this;
        }

        public Criteria andGainRatioIn(List<BigDecimal> values) {
            addCriterion("gain_ratio in", values, "gainRatio");
            return (Criteria) this;
        }

        public Criteria andGainRatioNotIn(List<BigDecimal> values) {
            addCriterion("gain_ratio not in", values, "gainRatio");
            return (Criteria) this;
        }

        public Criteria andGainRatioBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gain_ratio between", value1, value2, "gainRatio");
            return (Criteria) this;
        }

        public Criteria andGainRatioNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gain_ratio not between", value1, value2, "gainRatio");
            return (Criteria) this;
        }

        public Criteria andGainLimitIsNull() {
            addCriterion("gain_limit is null");
            return (Criteria) this;
        }

        public Criteria andGainLimitIsNotNull() {
            addCriterion("gain_limit is not null");
            return (Criteria) this;
        }

        public Criteria andGainLimitEqualTo(Integer value) {
            addCriterion("gain_limit =", value, "gainLimit");
            return (Criteria) this;
        }

        public Criteria andGainLimitNotEqualTo(Integer value) {
            addCriterion("gain_limit <>", value, "gainLimit");
            return (Criteria) this;
        }

        public Criteria andGainLimitGreaterThan(Integer value) {
            addCriterion("gain_limit >", value, "gainLimit");
            return (Criteria) this;
        }

        public Criteria andGainLimitGreaterThanOrEqualTo(Integer value) {
            addCriterion("gain_limit >=", value, "gainLimit");
            return (Criteria) this;
        }

        public Criteria andGainLimitLessThan(Integer value) {
            addCriterion("gain_limit <", value, "gainLimit");
            return (Criteria) this;
        }

        public Criteria andGainLimitLessThanOrEqualTo(Integer value) {
            addCriterion("gain_limit <=", value, "gainLimit");
            return (Criteria) this;
        }

        public Criteria andGainLimitIn(List<Integer> values) {
            addCriterion("gain_limit in", values, "gainLimit");
            return (Criteria) this;
        }

        public Criteria andGainLimitNotIn(List<Integer> values) {
            addCriterion("gain_limit not in", values, "gainLimit");
            return (Criteria) this;
        }

        public Criteria andGainLimitBetween(Integer value1, Integer value2) {
            addCriterion("gain_limit between", value1, value2, "gainLimit");
            return (Criteria) this;
        }

        public Criteria andGainLimitNotBetween(Integer value1, Integer value2) {
            addCriterion("gain_limit not between", value1, value2, "gainLimit");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkIsNull() {
            addCriterion("rule_remark is null");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkIsNotNull() {
            addCriterion("rule_remark is not null");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkEqualTo(String value) {
            addCriterion("rule_remark =", value, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkNotEqualTo(String value) {
            addCriterion("rule_remark <>", value, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkGreaterThan(String value) {
            addCriterion("rule_remark >", value, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("rule_remark >=", value, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkLessThan(String value) {
            addCriterion("rule_remark <", value, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkLessThanOrEqualTo(String value) {
            addCriterion("rule_remark <=", value, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkLike(String value) {
            addCriterion("rule_remark like", value, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkNotLike(String value) {
            addCriterion("rule_remark not like", value, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkIn(List<String> values) {
            addCriterion("rule_remark in", values, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkNotIn(List<String> values) {
            addCriterion("rule_remark not in", values, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkBetween(String value1, String value2) {
            addCriterion("rule_remark between", value1, value2, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andRuleRemarkNotBetween(String value1, String value2) {
            addCriterion("rule_remark not between", value1, value2, "ruleRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkIsNull() {
            addCriterion("invite_remark is null");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkIsNotNull() {
            addCriterion("invite_remark is not null");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkEqualTo(String value) {
            addCriterion("invite_remark =", value, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkNotEqualTo(String value) {
            addCriterion("invite_remark <>", value, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkGreaterThan(String value) {
            addCriterion("invite_remark >", value, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("invite_remark >=", value, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkLessThan(String value) {
            addCriterion("invite_remark <", value, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkLessThanOrEqualTo(String value) {
            addCriterion("invite_remark <=", value, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkLike(String value) {
            addCriterion("invite_remark like", value, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkNotLike(String value) {
            addCriterion("invite_remark not like", value, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkIn(List<String> values) {
            addCriterion("invite_remark in", values, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkNotIn(List<String> values) {
            addCriterion("invite_remark not in", values, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkBetween(String value1, String value2) {
            addCriterion("invite_remark between", value1, value2, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andInviteRemarkNotBetween(String value1, String value2) {
            addCriterion("invite_remark not between", value1, value2, "inviteRemark");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}